import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Loading from './plugins/PugLoading'

const app = createApp(App);
router.afterEach(() => {
    window.scrollTo(0,0);
})
app.use(router)
app.use(store);//内部插件 install()
app.use(Loading);//内部插件 install()
app.mount('#app');
